package gl.android.xmppandroidclient.server;

public class XmppConfig {
//	public String account = "geliang@dboomsky.com";
//	public String password = "geliang";
//	public String resouceName = "app";
//	public String server = "dboomsky.com";
//	public String host = "dboomsky.com";
//	public String port = "5222";

	 public String account = "253010894";
	 public String password = "010894";
	 public String resouceName = "app";
	 public String server = "chanceit";
	 public String host = "113.57.242.174";
	 public String port = "84";

	public XmppConfig configAccount(String account, String password) {
		this.account = account;
		this.password = password;
		return this;
	}

	@Override
	public boolean equals(Object o) {
		if (o instanceof XmppConfig) {
			XmppConfig _o = (XmppConfig) o;
			if (account.equals(_o.account) && password.equals(_o.password)
					&& resouceName.equals(_o.resouceName)
					&& server.equals(_o.server) && host.equals(_o.host)
					&& port.equals(_o.port)) {
				return true;
			}
		}
		return super.equals(o);
	}
}
